package com.etoak.web.sys_menu_role.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @Author by 孙有泽
 * @Date 2025/2/23 12:47
 * @Description
 */
@Data
@TableName("role_menu")
public class RoleMenu {
    @TableId(type = IdType.AUTO)
    private String id;
    private String roleId;
    private String menuId;

    @TableField(fill = FieldFill.INSERT,value ="createTime")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

}
